package com.alm.token.ui.data.bean;

import com.alm.token.base.BaseAdapter;

import java.util.List;

/**
 * Created by en on 2019/1/14.
 */

public class CorwdListData {
    /**
     * msg : 操作成功
     * status : 0
     * data : {"list":{"code":0,"count":1,"data":[{"id":1,"userId":102,"cfdId":1,"goodsId":1,"createTime":1547450006000,"updateTime":null,"price":0.5,"status":1,"moneyType":1,"orderSn":"28496951432","orderLevel":1,"payStatus":1,"payTime":1547450006000,"pro":0,"proMoney":0,"proMoneyType":0,"getMoney":0,"moneyTypeStr":"ETH","g12Money":250,"orderStatusStr":"交易成功"}],"msg":""}}
     * success : true
     * total : null
     */

    private String msg;
    private int status;
    private DataBeanX data;
    private boolean success;
    private Object total;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public Object getTotal() {
        return total;
    }

    public void setTotal(Object total) {
        this.total = total;
    }

    public static class DataBeanX {
        /**
         * list : {"code":0,"count":1,"data":[{"id":1,"userId":102,"cfdId":1,"goodsId":1,"createTime":1547450006000,"updateTime":null,"price":0.5,"status":1,"moneyType":1,"orderSn":"28496951432","orderLevel":1,"payStatus":1,"payTime":1547450006000,"pro":0,"proMoney":0,"proMoneyType":0,"getMoney":0,"moneyTypeStr":"ETH","g12Money":250,"orderStatusStr":"交易成功"}],"msg":""}
         */

        private ListBean list;

        public ListBean getList() {
            return list;
        }

        public void setList(ListBean list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * code : 0
             * count : 1
             * data : [{"id":1,"userId":102,"cfdId":1,"goodsId":1,"createTime":1547450006000,"updateTime":null,"price":0.5,"status":1,"moneyType":1,"orderSn":"28496951432","orderLevel":1,"payStatus":1,"payTime":1547450006000,"pro":0,"proMoney":0,"proMoneyType":0,"getMoney":0,"moneyTypeStr":"ETH","g12Money":250,"orderStatusStr":"交易成功"}]
             * msg :
             */

            private int code;
            private int count;
            private String msg;
            private List<DataBean> data;

            public int getCode() {
                return code;
            }

            public void setCode(int code) {
                this.code = code;
            }

            public int getCount() {
                return count;
            }

            public void setCount(int count) {
                this.count = count;
            }

            public String getMsg() {
                return msg;
            }

            public void setMsg(String msg) {
                this.msg = msg;
            }

            public List<DataBean> getData() {
                return data;
            }

            public void setData(List<DataBean> data) {
                this.data = data;
            }

            public static class DataBean extends BaseAdapter.BaseItem {
                /**
                 * id : 1
                 * userId : 102
                 * cfdId : 1
                 * goodsId : 1
                 * createTime : 1547450006000
                 * updateTime : null
                 * price : 0.5
                 * status : 1
                 * moneyType : 1
                 * orderSn : 28496951432
                 * orderLevel : 1
                 * payStatus : 1
                 * payTime : 1547450006000
                 * pro : 0
                 * proMoney : 0
                 * proMoneyType : 0
                 * getMoney : 0
                 * moneyTypeStr : ETH
                 * g12Money : 250
                 * orderStatusStr : 交易成功
                 * getMoneyTypeStr:MIO
                 */

                private int id;
                private int userId;
                private int cfdId;
                private int goodsId;
                private long createTime;
                private long updateTime;
                private double price;
                private int status;
                private int moneyType;
                private String orderSn;
                private int orderLevel;
                private int payStatus;
                private long payTime;
                private double pro;
                private double proMoney;
                private int proMoneyType;
                private double getMoney;
                private String moneyTypeStr;
                private double g12Money;
                private String orderStatusStr;
                private String getMoneyTypeStr;


                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getUserId() {
                    return userId;
                }

                public void setUserId(int userId) {
                    this.userId = userId;
                }

                public int getCfdId() {
                    return cfdId;
                }

                public void setCfdId(int cfdId) {
                    this.cfdId = cfdId;
                }

                public int getGoodsId() {
                    return goodsId;
                }

                public void setGoodsId(int goodsId) {
                    this.goodsId = goodsId;
                }

                public long getCreateTime() {
                    return createTime;
                }

                public void setCreateTime(long createTime) {
                    this.createTime = createTime;
                }

                public long getUpdateTime() {
                    return updateTime;
                }

                public void setUpdateTime(long updateTime) {
                    this.updateTime = updateTime;
                }

                public double getPrice() {
                    return price;
                }

                public void setPrice(double price) {
                    this.price = price;
                }

                public int getStatus() {
                    return status;
                }

                public void setStatus(int status) {
                    this.status = status;
                }

                public int getMoneyType() {
                    return moneyType;
                }

                public void setMoneyType(int moneyType) {
                    this.moneyType = moneyType;
                }

                public String getOrderSn() {
                    return orderSn;
                }

                public void setOrderSn(String orderSn) {
                    this.orderSn = orderSn;
                }

                public int getOrderLevel() {
                    return orderLevel;
                }

                public void setOrderLevel(int orderLevel) {
                    this.orderLevel = orderLevel;
                }

                public int getPayStatus() {
                    return payStatus;
                }

                public void setPayStatus(int payStatus) {
                    this.payStatus = payStatus;
                }

                public long getPayTime() {
                    return payTime;
                }

                public void setPayTime(long payTime) {
                    this.payTime = payTime;
                }

                public double getPro() {
                    return pro;
                }

                public void setPro(double pro) {
                    this.pro = pro;
                }

                public double getProMoney() {
                    return proMoney;
                }

                public void setProMoney(double proMoney) {
                    this.proMoney = proMoney;
                }

                public int getProMoneyType() {
                    return proMoneyType;
                }

                public void setProMoneyType(int proMoneyType) {
                    this.proMoneyType = proMoneyType;
                }

                public double getGetMoney() {
                    return getMoney;
                }

                public void setGetMoney(double getMoney) {
                    this.getMoney = getMoney;
                }

                public String getMoneyTypeStr() {
                    return moneyTypeStr;
                }

                public void setMoneyTypeStr(String moneyTypeStr) {
                    this.moneyTypeStr = moneyTypeStr;
                }

                public double getG12Money() {
                    return g12Money;
                }

                public void setG12Money(double g12Money) {
                    this.g12Money = g12Money;
                }

                public String getOrderStatusStr() {
                    return orderStatusStr;
                }

                public void setOrderStatusStr(String orderStatusStr) {
                    this.orderStatusStr = orderStatusStr;
                }

                public String getGetMoneyTypeStr() {
                    return getMoneyTypeStr;
                }

                public void setGetMoneyTypeStr(String getMoneyTypeStr) {
                    this.getMoneyTypeStr = getMoneyTypeStr;
                }
            }
        }
    }
}
